package com.dayuanit.dy17.library.mapper;

import com.dayuanit.dy17.library.entity.Author;
import org.apache.ibatis.annotations.Param;

public interface AuthorMapper {

    Author getAuthor(String authorName);

    int modifyAuhtorName(@Param("oldName") String oldName,
                         @Param("newName") String newName);
}
